:root {
    --blue: #5e72e4;
    --indigo: #5603ad;
    --purple: #8965e0;
    --pink: #f3a4b5;
    --red: #f5365c;
    --orange: #fb6340;
    --yellow: #ffd600;
    --green: #2dce89;
    --teal: #11cdef;
    --cyan: #2bffc6;
    --white: #fff;
    --gray: #8898aa;
    --gray-dark: #32325d;
    --lighter: #e9ecef;
    --primary: #5e72e4;
    --secondary: #f7fafc;
    --success: #2dce89;
    --info: #11cdef;
    --warning: #fb6340;
    --danger: #f5365c;
    --light: #adb5bd;
    --dark: #212529;
    --default: #172b4d;
    --neutral: #fff;
    --darker: black;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --black: #161616;
    --border-radius: 0.375rem;
    --main-font: 'Slabo 27px', serif;
    --secondary-font: 'Roboto', sans-serif;
    --color-primary: darkslateblue;
    --color-secondary: darkslateblue;
}

* {
    box-sizing: border-box;
    font-family: var(--secondary-font);
    font-size: 16px;
}
*:focus {
    outline: unset;
}
body {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--light);
}
.text-center {
    text-align: center;
}

.header {
    font-family: var(--main-font);
}

input {

}

.button {
    padding: 10px;
    min-width: 80px;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    background-color: cadetblue;
    cursor: pointer;
    position: relative;
    text-transform: none;
    transition: background-color 0.15s ease;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
    will-change: transform;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background-color: var(--gray-dark);
    border-color: var(--gray-dark);
    color: var(--white);
}
.btn-primary:hover {
    transform: none;
    background-color: #505092;
}

.btn-secondary {
    border: 1px solid transparent;
    background-color: var(--white);
    color: var(--black);
}
.btn-secondary:hover {
    text-decoration: underline;
    font-weight: bold;
}

.form-container {
    background-color: var(--white);
    width: 400px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow:
            0 2.8px 2.2px rgba(0, 0, 0, 0.034),
            0 6.7px 5.3px rgba(0, 0, 0, 0.048),
            0 12.5px 10px rgba(0, 0, 0, 0.06),
            0 22.3px 17.9px rgba(0, 0, 0, 0.072),
            0 41.8px 33.4px rgba(0, 0, 0, 0.086),
            0 100px 80px rgba(0, 0, 0, 0.12)
}
.form {
    padding: 0 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin: 0;
    --form-margin: 20px;
}
.form-header {
    font-size: 2rem;
    padding: 20px 30px;
    margin: 0 -20px 25px -20px;
    background-color: var(--gray-dark);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    color: var(--white);
}

.form-row {
    padding: 0 10px;
    margin-bottom: var(--form-margin);
    display: flex;
    flex-direction: column;
}

.form-row-linear {
    display: flex;
    flex-direction: row;
    margin-bottom: var(--form-margin);
}

.form-label {
    margin-bottom: 5px;
    margin-left: 2px;
    text-transform: uppercase;
}

.form-input {
    padding: 10px 10px 10px 10px;
    font-weight: normal;
    background: white;
    border: 1px solid #505092;
    outline: none;
    font-size: 1em;
    margin: 6px 0 17px 0;
    transition: border-color 0.5s ease;
    -webkit-transition: border-color 0.5s ease;
    border-radius: var(--border-radius);
}
.form-error {
    color: var(--red);
}
.form-footer {
    flex-direction: row;
    padding: 20px 30px;
    margin: 20px -20px 50px -20px;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* Utility methods */
.w-100 {width: 100%;}
.mt-1 {margin-top: 1em;}
.mb-0 {margin-bottom: 0;}
.d-flex {display: flex;}
.d-flex-row{display: flex;flex-direction: row;}
.d-flex-col{display: flex;flex-direction: column;}
.f-justify-end {
    justify-content: flex-end;
}
/* Utility methods end*/

@media screen and (max-width: 767px) {
    * {font-size: 14px;}
    .form-header{padding:20px 28px;}
    .form-container{width:100vw;height:100%;}
    .form-row{padding:0;}
    .form-footer {padding: 20px 20px;}
}

@media screen and (max-width: 350px) {
    * {font-size: 12px;}
}
